package com.qzyh.esb.egsa.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 菜单表
 * </p>
 *
 * @author whq
 * @since 2023-09-20
 */
@TableName("t_menu")
@ApiModel(value = "Menu对象", description = "菜单表")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private String id;

    @ApiModelProperty("上级菜单id")
    private String parentId;

    @ApiModelProperty("菜单名")
    private String menuName;

    @ApiModelProperty("菜单类型 0-菜单 1-按钮")
    private String menuType;

    @ApiModelProperty("路由名称")
    private String routerName;

    @ApiModelProperty("路由路径")
    private String routerPath;

    @ApiModelProperty("路由重定向")
    private String routerRedirect;

    @ApiModelProperty("菜单图标")
    private String menuIcon;

    @ApiModelProperty("组件路径")
    private String componentPath;

    @ApiModelProperty("菜单排序")
    private Integer menuSort;

    @ApiModelProperty("菜单是否隐藏 0-不隐藏 1-隐藏")
    private String menuHide;

    @ApiModelProperty("菜单是否缓存 0-不缓存 1-缓存")
    private String menuCache;

    @ApiModelProperty("菜单是否固定 0-不固定 1-固定")
    private String menuAffix;

    @ApiModelProperty("菜单是否外链 0-不外链 1-外链")
    private String menuLink;

    @ApiModelProperty("外链地址")
    private String linkPath;

    @ApiModelProperty("菜单是否内嵌 0-不内嵌 1-内嵌")
    private String menuIframe;

    @ApiModelProperty("内嵌地址")
    private String iframePath;

    @ApiModelProperty("菜单状态  0-禁用 1-启用")
    private String menuStatus;

    @ApiModelProperty("角色描述")
    private String menuDescribe;

    @ApiModelProperty("修改人id")
    private String updateUserId;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人id")
    private String createUserId;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuType() {
        return menuType;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public String getRouterName() {
        return routerName;
    }

    public void setRouterName(String routerName) {
        this.routerName = routerName;
    }

    public String getRouterPath() {
        return routerPath;
    }

    public void setRouterPath(String routerPath) {
        this.routerPath = routerPath;
    }

    public String getRouterRedirect() {
        return routerRedirect;
    }

    public void setRouterRedirect(String routerRedirect) {
        this.routerRedirect = routerRedirect;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public String getComponentPath() {
        return componentPath;
    }

    public void setComponentPath(String componentPath) {
        this.componentPath = componentPath;
    }

    public Integer getMenuSort() {
        return menuSort;
    }

    public void setMenuSort(Integer menuSort) {
        this.menuSort = menuSort;
    }

    public String getMenuHide() {
        return menuHide;
    }

    public void setMenuHide(String menuHide) {
        this.menuHide = menuHide;
    }

    public String getMenuCache() {
        return menuCache;
    }

    public void setMenuCache(String menuCache) {
        this.menuCache = menuCache;
    }

    public String getMenuAffix() {
        return menuAffix;
    }

    public void setMenuAffix(String menuAffix) {
        this.menuAffix = menuAffix;
    }

    public String getMenuLink() {
        return menuLink;
    }

    public void setMenuLink(String menuLink) {
        this.menuLink = menuLink;
    }

    public String getLinkPath() {
        return linkPath;
    }

    public void setLinkPath(String linkPath) {
        this.linkPath = linkPath;
    }

    public String getMenuIframe() {
        return menuIframe;
    }

    public void setMenuIframe(String menuIframe) {
        this.menuIframe = menuIframe;
    }

    public String getIframePath() {
        return iframePath;
    }

    public void setIframePath(String iframePath) {
        this.iframePath = iframePath;
    }

    public String getMenuStatus() {
        return menuStatus;
    }

    public void setMenuStatus(String menuStatus) {
        this.menuStatus = menuStatus;
    }

    public String getMenuDescribe() {
        return menuDescribe;
    }

    public void setMenuDescribe(String menuDescribe) {
        this.menuDescribe = menuDescribe;
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Menu{" +
            "id = " + id +
            ", parentId = " + parentId +
            ", menuName = " + menuName +
            ", menuType = " + menuType +
            ", routerName = " + routerName +
            ", routerPath = " + routerPath +
            ", routerRedirect = " + routerRedirect +
            ", menuIcon = " + menuIcon +
            ", componentPath = " + componentPath +
            ", menuSort = " + menuSort +
            ", menuHide = " + menuHide +
            ", menuCache = " + menuCache +
            ", menuAffix = " + menuAffix +
            ", menuLink = " + menuLink +
            ", linkPath = " + linkPath +
            ", menuIframe = " + menuIframe +
            ", iframePath = " + iframePath +
            ", menuStatus = " + menuStatus +
            ", menuDescribe = " + menuDescribe +
            ", updateUserId = " + updateUserId +
            ", updateTime = " + updateTime +
            ", createUserId = " + createUserId +
            ", createTime = " + createTime +
        "}";
    }
}
